/* 字体颜色-红色 */
.red{
    color: red;
}
/* 字体大小 */
.f14{
    font-size: 14px;
}


/* 获取宽高 */
html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}


.footer {
    height: 60px;
    line-height: 60px;
    background-color: pink;
}




/* 内容区域 */
.maincontent {
    flex: 99;
    overflow-y: scroll;
    background-color: rgb(243, 241, 241);
    
}

/* 轮播 */
.swiper-container {
    height: 180px;

}

.swiper-container img {
    width: 100%;
}



.maincontent .list ul{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
    width: 100%;
    margin-top: 5px;
}
.list ul .rank{
    position: relative;
    margin-bottom: 10px; 
    width: 40%;
    height: 180px;
    color: #1d4966;
    text-align: center;
    background-color: rgb(91, 118, 177);
    border-radius: 15px;
    
}
.rank .posit{
    position: absolute;
    width: 60px;
    height: 80px;
    line-height: 80px;
    font-size: 85px;
    text-align: center;
    -border: 1px solid deeppink;
    bottom: 5px;
    right: -5px;
}
.rank .fitnessIcon {
    font-size: 124px;
    color: #bed8e0;
    margin: 70px 0px;
    }
.list ul .punchcard{
    position: relative;
    margin-bottom: 10px;  
    width: 52%;
    height: 180px;
    color: #1d4966;
    text-align: center;
    background-color: rgb(149, 177, 236);
    border-radius: 15px;
   
}
.punchcard .posit{
    position: absolute;
    width: 80px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #274a97;
    border-radius: 20px;
    border: 1px solid #468bda;
    bottom: 18px;
    right: 4px;
}
.punchcard .fitnessIcon {
        font-size: 140px;
        color: #bed8e0;
        margin: 70px 0px;
    }
.list ul .sportdata{
    margin-bottom: 10px;  
    width: 46%;
    height: 160px;
     color: #fff;
    text-align: center;
    background: url(../img/index-card-data.png) no-repeat;
    border-radius: 15px;
    
}
.list ul .medal{
    position: relative;
    margin-bottom: 10px;  
    width: 46%;
    height: 160px;
    color: #193c53;
    text-align: center;
    background-color: rgb(95, 119, 173);
    border-radius: 15px;
}
.medal .medlenum{
    display: flex;
     position: absolute; 
     width: 80px;
     height: 80px;
     bottom: 15px;
     right: -2px;
     font-size: 18px;
     font-weight: 700;
     align-items: flex-end;
     -border: 1px solid deeppink;
}
.medal .posit{
   display: block;
    width: 60px;
    height: 80px;
    line-height: 80px;
    font-size: 85px;
    font-weight: 600;
    text-align: center;
    
   
}
 .medal .fitnessIcon {
    font-size: 160px;
    color: #bed8e0;
    opacity: .3;
    margin: 45px -16px;
    }
.list ul .train-course{
    width: 100%;
    height: 160px;
    color: #fff;
    margin: 15px;
    border-radius: 20px;
    background: url(../img/course-img04.jpg) no-repeat;
}
.list ul .sport-course{
    width: 100%;
    height: 160px;
    color: #fff;
    margin: 15px;
    border-radius: 20px;
    background: url(../img/course-img02.png) no-repeat;
}
.list ul li p{
    text-align: left;
    margin-left: 10px;
    height: 20px;
    z-index: 1;
    line-height: 20px;
}

/* .maincontent .gotop{
    width: 40px;
    height: 40px;
    position: fixed;
    right: -10px;
    top: 50%;
} */


/* 页脚部分 */
 
.footer {
    display: flex;
    justify-content: space-between;
    color: ivory;
    border-top: 1px solid #ccc;
    background-color: #fff;
}

.footer .foot-icon {
    width: 80px;
    color: rgb(146, 144, 144);
    text-align: center;
}

.footer .foot-icon .fitnessIcon {
    margin-top: 5px;
    font-size: 22px;
    font-weight: 600;
}

.footer .foot-icon p {
    font-size: 14px;
    letter-spacing: 2px;
    height: 24px;
    line-height: 24px;
} 